Revert 20954:b4041e7bbe1b "paging_domctl: Add missing breaks in switch stmt"
authorKeir Fraser <keir.fraser@citrix.com>
Fri, 26 Feb 2010 17:09:50 +0000 (17:09 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Fri, 26 Feb 2010 17:09:50 +0000 (17:09 +0000)
commitb1c29c92ae99e9e95651c9ef8d1672cdc952cc7f
treef8e118112c1a0986ebeead07ae3fa14b3344145b
parentbe8428d88cfedde06b4c6d0c2c77efdc21447573
Revert 20954:b4041e7bbe1b "paging_domctl: Add missing breaks in switch stmt"

This fixed a fairly innocuous bug (OP_ENABLE/OP_OFF both don't work
properly) but unmasked a much nastier one (turning off shadow mode on
a PV guest crashes the hypervisor).

So, for now, we pick the less of two evils. We don't really much rely
on OP_ENABLE/OP_OFF anyway, as it happens.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen/arch/x86/mm/paging.c